package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.core.bean.SimpleListBean;
import com.joysuch.wwyt.core.bean.SimpleSelectListBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class RiskPointEvalBean implements Serializable {

    @ApiModelProperty("风险点id")
    private Long pointId;
    private String pointName;
    private String pointCode;
    @ApiModelProperty("风险点类型")
    private String pointType;

    @ApiModelProperty("风险等级")
    private Integer riskLevel;
    @ApiModelProperty("风险等级名称")
    private String riskLevelName;

    @ApiModelProperty("评估人员id")
    private List<Long> evaluationUserIds;
    @ApiModelProperty("评估人员")
    private List<SimpleListBean> evaluationUserBeanList;

    @ApiModelProperty("受控号")
    private String controlNumber;

    @ApiModelProperty("评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date evaluationDate;


    @ApiModelProperty("控制风险等级")
    private Integer controlRiskLevel;
    @ApiModelProperty("控制风险等级名称")
    private String controlRiskLevelName;

    @ApiModelProperty("控制风险评估人员id")
    private List<Long> controlUserIds;
    @ApiModelProperty("控制风险评估人员名称")
    private List<SimpleListBean> controlUserBeanList;

    @ApiModelProperty("控制风险受控号")
    private String controlControlNumber;

    @ApiModelProperty("控制分析方法id")
    private Long controlAnalyzeWayId;
    @ApiModelProperty("控制分析方法id")
    private String controlAnalyzeWayName;

    @ApiModelProperty("控制风险评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date controlEvaluationDate;

    @ApiModelProperty("控制分析方法item")
    private RiskPointItemPageBean controlPageBean;


    @ApiModelProperty("固有分析方法id")
    private Long stableAnalyzeWayId;
    @ApiModelProperty("固有分析方法id")
    private String stableAnalyzeWayName;

    @ApiModelProperty("固有风险等级")
    private Integer stableRiskLevel;
    @ApiModelProperty("固有风险等级名称")
    private String stableRiskLevelName;

    @ApiModelProperty("固有风险评估人员id")
    private List<Long> stableUserIds;
    @ApiModelProperty("固有风险评估人员名称")
    private List<SimpleListBean> stableUserBeanList;

    @ApiModelProperty("固有风险受控号")
    private String stableControlNumber;

    @ApiModelProperty("固有风险评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date stableEvaluationDate;
    @ApiModelProperty("固有分析方法item")
    private RiskPointItemPageBean stablePageBean;
}
